package com.chinaums.fsp.sdk.request;

import org.xiajinsuo.avro.specific.SpecificRecordBase;

import com.chinaums.fsp.base.pgt.TransType;
import com.chinaums.fsp.sdk.base.ResponseDataWrapper;
import com.chinaums.fsp.sdk.pgt.params.OrgRoleModifyRequest;
import com.chinaums.fsp.sdk.pgt.params.OrganizationModifyRequest;

/**
 * 机构角色变更：卖家->全部
 * 
 * @author hhh
 */
public class OrganizationModifyTest extends BaseRequest {

	/* 机构角色变更：卖家->全部 */
	public void testOrgRoleModify() throws Exception {

		PgtRequestFactory rf = FACTORY.factory();

		OrganizationModifyRequest data = OrganizationModifyRequest.newBuilder()
				.setCardAccNo("600033053")
				.setSettleId("305521005074")
				.setWalletNo("801000000002166")
//				.setBusinessContactIdcard("6226090000000048")
//				.setBusinessContactMobile("18559655830")
//				.setBusinessContactName("平安测试零零一五九二四零三一九五")
				.build();
		rf.transType(TransType.ORGANIZATION_MODIFY.getTransCode())
			.responseClass(SpecificRecordBase.class).data(data);
		ResponseDataWrapper rdw = rf.post();

		this.print(rdw);
	}

}